<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Please enter value</title>
<LINK href="styles/layout.css" rel="stylesheet" type="text/css">
<script type="text/javascript">

<!--
    var oParent;   //don't init.

    var aArgs = new Array(5);
    function popSuppress()
    {
        return null;
    }
    function onInit()
    {
        aArgs = window.dialogArguments;
        if (null != aArgs)
        {
            tag.innerHTML = aArgs[0];
            document.title  = "";  //this line won't work: MSDN bug rpt:Q263033
            oParent = aArgs[1];
        }
        try {

        }
        catch(e){}
        edit_box.focus();
    }
    function saveTagValue()
    {
        if(aArgs[2] != '') {
            var check = confirm("" + aArgs[2]);
            if (check) {
                var str = edit_box.value;
                str = str.replace(/^\s*|\s*$/g,"");
                if (str.length > 0) {
                    oParent.svr.set( aArgs[0], str);
                }
                window.close();
            }
        } else {
            var str = edit_box.value;
            str = str.replace(/^\s*|\s*$/g,"");
            if (str.length > 0) {
                oParent.svr.set( aArgs[0], str);
            }
            window.close();
        }
    }

/* */
-->
</script>
</head>
<body onload='onInit()' style="margin:5;background: #ffffff">

Please enter new value for <span id="tag">TagName</span>:
<input class='editbox' id='edit_box' type='text' size='15' text-align='right' />
<br>
<button style="width:60px" type="submit" id="bttn_ok" onclick="saveTagValue()">&nbsp OK &nbsp </button>
<button style="width:60px" id="bttn_cancel" onclick="window.close()">&nbsp Cancel &nbsp </button>

</body>
</html>
